package com.crm.dao.mapper.AuthorityManager;

import com.crm.model.entity.AuthorityManager.DeptAuth;
import com.crm.model.entity.AuthorityManager.DeptAuthExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeptAuthMapper {
    long countByExample(DeptAuthExample example);

    int deleteByExample(DeptAuthExample example);

    int deleteByPrimaryKey(String deptAuthId);

    int insert(DeptAuth record);

    int insertSelective(DeptAuth record);

    List<DeptAuth> selectByExample(DeptAuthExample example);

    DeptAuth selectByPrimaryKey(String deptAuthId);

    int updateByExampleSelective(@Param("record") DeptAuth record, @Param("example") DeptAuthExample example);

    int updateByExample(@Param("record") DeptAuth record, @Param("example") DeptAuthExample example);

    int updateByPrimaryKeySelective(DeptAuth record);

    int updateByPrimaryKey(DeptAuth record);
}